package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.SpecialityGoods;

import java.util.List;
import java.util.Map;


@DBMapper
public interface SpecialityGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SpecialityGoods record);

    int insertSelective(SpecialityGoods record);

    SpecialityGoods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SpecialityGoods record);

    int updateByPrimaryKey(SpecialityGoods record);


    int deleteBySpecialityId(Integer specialityId);

    List<SpecialityGoods> selectbycondition(SpecialityGoods record);

    int updateSpecialityGoodsState(Map speciality_param);

    int deleteByGoodCommonIds(String[] goodsCommonIds);
}